package ai.people.netmon.msgsearch.mapper.es;

import ai.people.netmon.msgsearch.domain.entity.SocialUser;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * 社交媒体用户es映射器
 *
 * @author LiGuanNan
 * @date 2022/6/23 17:08
 */
public interface SocialUserEsMapper extends ElasticsearchRepository<SocialUser, String> {

    SocialUser findSocialUserByIdAndUserType(String id, String source);

}
